home *** CD-ROM | disk | FTP | other *** search
- package javax.swing.text;
-
- import java.awt.Component;
- import java.awt.Container;
-
- final class ComponentView$1 implements Runnable {
- // $FF: synthetic field
- private final ComponentView this$0;
-
- // $FF: synthetic method
- ComponentView$1(ComponentView var1) {
- this.this$0 = var1;
- }
-
- public void run() {
- Document var1 = this.this$0.getDocument();
-
- try {
- if (var1 instanceof AbstractDocument) {
- ((AbstractDocument)var1).readLock();
- }
-
- this.this$0.setComponentParent();
- Container var4 = this.this$0.getContainer();
- if (var4 != null) {
- this.this$0.preferenceChanged((View)null, true, true);
- ((Component)var4).repaint();
- }
- } finally {
- if (var1 instanceof AbstractDocument) {
- ((AbstractDocument)var1).readUnlock();
- }
-
- }
-
- }
- }
-